//
//  WYHttpServer+CJAuthentication.h
//  Boss
//
//  Created by admin on 2018/9/14.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYHttpServer.h"

@interface WYHttpServer (CJAuthentication)
+(void)getAuthenticationStatusSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)checkFirmStatusSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;



+(void)sendPersonAuthenticationMessageWithUserName:(NSString *)userName WithIDNumber:(NSString *)idNumber SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)sendFirmAuthenticationMessageWithUserName:(NSString *)userName WithPositon:(NSString *)position WithFirmName:(NSString *)firmName WithIdCardFront:(NSString *)idCardFront WithIdCardBack:(NSString *)idCardBack WithVerifyType:(NSString *)verifyType WithVerify:(NSString *)verifyUrl SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 我的公司
 */
+(void)getMyFirmStatusSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 *   编辑我的公司
 */
+(void)editMyFirmWithBrandName:(NSString *)brandName WithFirmIntroduction:(NSString *)firmIntroduction WithFirmType:(NSString *)firmType WithFirmLogo:(NSString *)firmLogo SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 删除企业荣誉
 */

+(void)deleteFirmHonorWithID:(NSString *)ID SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)deleteFirmProductWithID:(NSString *)ID SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)insertFirmHonorWithUrl:(NSString *)url SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)insertFirmProductWithUrl:(NSString *)url WithProductName:(NSString *)productName WithProductCover:(NSString *)productCover WithProductId:(NSString *)productId WithProductDetails:(NSString *)productDetails SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)getFirmUserWithFirmId:(NSString *)firmId SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;


@end
